/* ========================================= */
/* CONFIGURAÇÕES GERAIS */
/* ========================================= */

/* Remove margens e espaçamentos padrão do navegador */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Define o estilo geral da página */
body {
    background: #08090d;
    color: #f5eee4;

    font-family: Arial, sans-serif;

    min-height: 100vh;
}


/* Remove a decoração padrão dos links */
a {
    text-decoration: none;
    color: inherit;
}


/* ========================================= */
/* ÁREA PRINCIPAL DO LOGIN */
/* ========================================= */

.login {
    width: 100%;
    height: 100vh;

    display: flex;

    overflow: hidden;
}


/* ========================================= */
/* LADO ESQUERDO — CARROSSEL */
/* ========================================= */

.login-imagem {
    width: 50%;
    height: 100vh;

    position: relative;

    overflow: hidden;

    background: #111;
}


/* ========================================= */
/* SLIDES */
/* ========================================= */

/* Cada slide ocupa toda a área esquerda */
.slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    transition: opacity 0.8s ease;

    z-index: 0;
}


/* Slide que está aparecendo */
.slide.ativo {
    opacity: 1;

    z-index: 1;
}


/* Imagem de cada slide */
.slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* ========================================= */
/* ESCURECIMENTO DA IMAGEM */
/* ========================================= */

/*
   Cria um degradê escuro por cima da imagem.
   Isso facilita a leitura do texto na parte inferior.
*/
.slide::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 55%;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.9)
    );

    z-index: 1;
}


/* ========================================= */
/* LOGO */
/* ========================================= */

.logo {
    position: absolute;

    top: 40px;
    left: 40px;

    display: flex;
    align-items: center;

    gap: 0;

    z-index: 20;

    font-family: Georgia, serif;
    font-size: 22px;
}


/* Ícone da logo */
.logo-icone {
    display: flex;
    align-items: center;
}


.logo-icone img {
    width: 22px;
    height: 22px;

    object-fit: contain;
    display: block;

    filter: invert(54%) sepia(91%) saturate(1900%) hue-rotate(340deg) brightness(101%) contrast(96%);
}


/* Palavra Rota */
.logo-rota {
    color: white;
    font-size: 22px;
}


/* Palavra Mundi */
.logo-mundi {
    color: #f47b35;
    font-size: 22px;
}


/* ========================================= */
/* INFORMAÇÕES DO DESTINO */
/* ========================================= */

.destino {
    position: absolute;

    left: 40px;
    bottom: 50px;

    z-index: 10;
}


/* Pequeno título laranja */
.pequeno-titulo {
    color: #f47c32;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


/* Nome do destino */
.destino h1 {
    color: #f5eee4;

    font-family: Georgia, serif;

    font-size: 48px;

    line-height: 1;

    margin-bottom: 8px;
}


/* País */
.destino > p:last-child {
    color: #d1ccc5;

    font-size: 14px;
}


/* ========================================= */
/* BOTÕES DO CARROSSEL */
/* ========================================= */

.controles-carrossel {
    position: absolute;

    right: 35px;
    bottom: 45px;

    z-index: 20;

    display: flex;

    gap: 10px;
}


/* Botões de anterior e próximo */
.controles-carrossel button {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.4);

    background: rgba(0, 0, 0, 0.35);

    color: white;

    font-size: 26px;

    line-height: 1;

    cursor: pointer;

    transition: 0.3s;
}


/* Efeito quando passa o mouse */
.controles-carrossel button:hover {
    background: #f47c32;

    border-color: #f47c32;

    transform: scale(1.05);
}


/* ========================================= */
/* LADO DIREITO — FORMULÁRIO */
/* ========================================= */

.login-formulario {
    width: 50%;
    height: 100vh;

    position: relative;

    background: #08090d;

    overflow-y: auto;
}


/* ========================================= */
/* BOTÃO VOLTAR */
/* ========================================= */

.voltar {
    position: absolute;

    top: 30px;
    left: 30px;

    color: #777;

    font-size: 13px;

    transition: 0.3s;
}


/* Efeito do voltar */
.voltar:hover {
    color: #f47c32;
}


/* ========================================= */
/* CONTEÚDO DO FORMULÁRIO */
/* ========================================= */

.formulario-conteudo {
    width: 100%;
    max-width: 420px;

    margin: 0 auto;

    padding: 130px 30px 50px;
}


/* ========================================= */
/* TÍTULO */
/* ========================================= */

.formulario-conteudo h2 {
    color: #f5eee4;

    font-family: Georgia, serif;

    font-size: 42px;

    line-height: 1.1;

    margin-bottom: 10px;
}


/* Texto abaixo do título */
.subtitulo {
    color: #777;

    font-size: 14px;

    line-height: 1.6;

    margin-bottom: 30px;
}


/* ========================================= */
/* ABAS */
/* ========================================= */

.abas {
    width: 100%;

    display: flex;

    background: #15161a;

    border: 1px solid #292a2f;

    border-radius: 30px;

    padding: 4px;

    margin-bottom: 30px;
}


/* Botão de cada aba */
.aba {
    width: 50%;

    padding: 12px;

    border: none;

    border-radius: 25px;

    background: transparent;

    color: #888;

    font-size: 14px;

    cursor: pointer;
}


/* Aba selecionada */
.aba.ativa {
    background: #f47c32;

    color: #111;

    font-weight: bold;
}


/* ========================================= */
/* FORMULÁRIO */
/* ========================================= */

form {
    width: 100%;
}


/* Textos dos campos */
form label {
    display: block;

    color: #bcb8b2;

    font-size: 12px;

    margin-bottom: 8px;
}


/* Campos de texto */
form input {
    width: 100%;

    height: 48px;

    padding: 0 15px;

    margin-bottom: 20px;

    border: 1px solid #292a2f;

    border-radius: 10px;

    outline: none;

    background: #141519;

    color: white;

    font-size: 14px;
}


/* Placeholder */
form input::placeholder {
    color: #666;
}


/* Campo quando está selecionado */
form input:focus {
    border-color: #f47c32;
}


/* ========================================= */
/* SENHA + ESQUECEU */
/* ========================================= */

.senha-titulo {
    display: flex;

    justify-content: space-between;

    align-items: center;
}


/* Remove a margem do label nessa área */
.senha-titulo label {
    margin-bottom: 8px;
}


/* Link "Esqueceu?" */
.senha-titulo a {
    color: #f47c32;

    font-size: 11px;

    margin-bottom: 8px;
}


/* ========================================= */
/* BOTÃO ENTRAR */
/* ========================================= */

.botao-entrar {
    width: 100%;

    height: 48px;

    border: none;

    border-radius: 10px;

    background: #f47c32;

    color: #111;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}


/* Efeito do botão */
.botao-entrar:hover {
    background: #ff914b;

    transform: translateY(-1px);
}


/* ========================================= */
/* SEPARADOR */
/* ========================================= */

.separador {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 28px 0 20px;
}


/* Linhas */
.separador span {
    flex: 1;

    height: 1px;

    background: #25262b;
}


/* Texto do meio */
.separador p {
    color: #555;

    font-size: 11px;

    white-space: nowrap;
}


/* ========================================= */
/* LOGIN SOCIAL */
/* ========================================= */

.login-social {
    width: 100%;

    height: 45px;

    margin-bottom: 10px;

    border: 1px solid #292a2f;

    border-radius: 10px;

    background: #141519;

    color: #bbb;

    font-size: 13px;

    cursor: pointer;

    transition: 0.3s;
}


/* Ícone do Google/Apple */
.login-social strong {
    margin-right: 10px;

    color: #ddd;
}


/* Efeito ao passar o mouse */
.login-social:hover {
    border-color: #555;

    background: #191a1f;
}


/* ========================================= */
/* CRIAR CONTA */
/* ========================================= */

.criar-conta {
    text-align: center;

    color: #666;

    font-size: 12px;

    margin-top: 25px;
}


/* Link para criar uma conta */
.criar-conta a {
    color: #f47c32;

    font-weight: bold;
}


/* ========================================= */
/* RESPONSIVIDADE — CELULAR */
/* ========================================= */

@media (max-width: 800px) {

    /* Coloca tudo em uma coluna */
    .login {
        height: auto;

        min-height: 100vh;

        display: block;

        overflow: visible;
    }


    /* Imagem fica menor no celular */
    .login-imagem {
        width: 100%;

        height: 350px;
    }


    /* Formulário ocupa a tela inteira */
    .login-formulario {
        width: 100%;

        height: auto;

        min-height: calc(100vh - 350px);

        overflow: visible;
    }


    /* Diminui o logo */
    .logo {
        top: 25px;
        left: 25px;
    }


    /* Informações do destino */
    .destino {
        left: 25px;
        bottom: 30px;
    }


    /* Nome do destino */
    .destino h1 {
        font-size: 38px;
    }


    /* Botões */
    .controles-carrossel {
        right: 20px;
        bottom: 25px;
    }


    /* Conteúdo do formulário */
    .formulario-conteudo {
        padding: 60px 25px 40px;
    }


    /* Título */
    .formulario-conteudo h2 {
        font-size: 34px;
    }


    /* Voltar */
    .voltar {
        top: 20px;
        left: 25px;
    }

}